<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/17
 * Time: 14:18
 */

namespace app\index\model;


use think\Model;

class FoodSpec extends Model
{

    protected $table = "duck_shop_foods_spec";

    public function foodAttribute(){
        return $this->hasMany('foodAttribute','spec_id','id');
    }


}